#define _CRT_SECURE_NO_WARNINGS 2

#include"queue.h"

int main() {
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	QueuePrint(&q);

	QueuePop(&q);
	QueuePop(&q);
	QueuePrint(&q);

	QueuePush(&q, 7);
	int front = QueueFront(&q);
	int back = QueueBack(&q);
	printf("%d %d\n", front, back);
	QueueDestroy(&q);
	return 0;
}